home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-07-20 | 856 b | 40 lines | [TEXT/PJMM] |
- {-------------------------------------------------------------------------------}
- { Test Gamma by Matthew Xavier Mora }
- {-------------------------------------------------------------------------------}
- { Code to show off Matt Slot's for Pascal users }
- { }
- { mxmora@unix.sri.com }
- { 07-20-93 }
- {-------------------------------------------------------------------------------}
- program testgamma;
-
- uses
- gammaPasLibIntf;
- var
- delaytime: longint;
- oe: integer;
- tempBool: Boolean;
-
-
- begin
- delaytime := 2;
-
- if not GammaAvail then
- begin
- Showtext;
- writeln('Gamma not available');
- exittoshell;
- end;
-
- oe := SetupGammaTools;
-
- DelayFadeToBlack(delaytime);
- FadeFromBlack(2);
-
- FadeToBlack(2);
- DelayFadeFromBlack(delaytime);
-
-
- oe := DisposeGammaTools;
-
- end.